/*
Copyright (c) 2010 Andi Rustandi Djunaedi andird@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
 */
package com.appspot.mobileirisnextbus.shared;

/**
 * @author andi
 * 
 */
public class Constants {
	public static final String sbsMobileiris = "http://www.sbstransit.com.sg/mobileiris/index.aspx";
	public static final String indexAspx = "index.aspx";
	public static final String headerLocation = "location";
	public static final String nextBus = "index_nextbus.aspx";
	public static final String svcList = "index_svclist.aspx?__redir=1&stopcode=";
	public static final String busStopPostParam = "txtbusstop";
	public static final String busSvcParam = "txtsvcno";
	public static final String actionIdxStart = "index_nextbus.aspx?__ufps=";
	public static final String actionIdxEnd = "\">";
	public static final String formLineStart = "<form id=\"frmsvcno\" name=\"frmsvcno\" method=\"post\" action=\"index_nextbus.aspx?__ufps=";
	public static final String svcLineStart = "<a href=\"index_mobresult.aspx?stop=";
	public static final String svcLineIdxEnd = "</a><br>";
	public static final String svcLineIdxStart = "\">";
	public static final String hiddenEt = "__ET";
	public static final String btnGoParam = "btngo";
	public static final String btnGoVal = "submit";
	public static final String nextBusValStart = "Next bus:";
	public static final String subsequentBusValStart = "Subsequent bus:";
	public static final String busValBr = "<br>";
	public static final String msgNotExpected = "Http Resp Code Not Expected: ";
	public static final String setCookie = "set-cookie";
	public static final String cookie = "cookie";
	public static final String httpPost = "POST";
	public static final String blank = "";
	public static final String amp = "&";
	public static final String eq = "=";
	public static final String SERVER_ERROR = "An error occurred while "
			+ "attempting to contact the server. Please check your network "
			+ "connection and try again.";

}
